<%= javascript_include_tag "prototype", "effects", "controls", "window", "application","dragdrop"%>
<%= stylesheet_link_tag "sbstyle", :media => "all" %>
<title>修改密码</title>
<fieldset style="width:350;border:4px double;border-color:#ccc;margin-top:60px;padding-top:60px;" align="center"><legend
	align="center">
<% if flash[:notice] -%> <%= flash[:notice] %><%else -%>修改密码<% end -%>
</legend><%= form_tag :controller=>"info",:action =>'update_password' %>
<ul>
	<li class="info_data">输入旧的密码： <%= password_field "user", "old_password",:size=>"18" , 
                                        :onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
                                        :onMouseOut=>"this.style.backgroundColor = '';"%></li>
	<li class="info_data">输入新的密码： <%= password_field "user", "new_password",:size=>"18" , 
        :onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
        :onMouseOut=>"this.style.backgroundColor = '';"%></li>
	<li class="info_data">输入新的密码： <%= password_field "user", "confirm_password",:size=>"18" , 
        :onMouseOver=>"this.style.backgroundColor = '#E5F0FF';",
        :onMouseOut=>"this.style.backgroundColor = '';"%></li>
</ul>
<span style="width:200;">
<div class="left_info_sidebar">
<%= submit_tag "确 定",:class=>"btn_mouseout",
													:onmouseover=>"this.className='btn_mouseover'",
 													:onmouseout=>"this.className='btn_mouseout'",
 													:onmousedown=>"this.className='btn_mousedown'",
  													:onmouseup=>"this.className='btn_mouseup'"%><%= end_form_tag %></div>
  													<div class="right_info_sidebar">
<%= form_tag%><%= submit_tag "关 闭",:class=>"btn_mouseout",
		:onmouseover=>"this.className='btn_mouseover'",
			:onmouseout=>"this.className='btn_mouseout'",
			:onmousedown=>"this.className='btn_mousedown'",
			:onmouseup=>"this.className='btn_mouseup'", 
		:onClick=>"self.close()"%><%= end_form_tag %></div></span></fieldset>
